package com.fanghaoran.entity;

/**
 * @Author: win11
 * @Date: 2023/03/30/15:14
 * @Description: 学习信息类
 */
public class StudyInfo {
    private int id;
    private int userId;
    private int wordAccount;
    private int studyTime;
    private int studyPlan;

    public StudyInfo() {
    }

    public StudyInfo(int id, int userId, int wordAccount, int studyTime, int studyPlan) {
        this.id = id;
        this.userId = userId;
        this.wordAccount = wordAccount;
        this.studyTime = studyTime;
        this.studyPlan = studyPlan;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id 学习信息id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId 用户id
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return wordAccount
     */
    public int getWordAccount() {
        return wordAccount;
    }

    /**
     * 设置
     * @param wordAccount 单词数id
     */
    public void setWordAccount(int wordAccount) {
        this.wordAccount = wordAccount;
    }

    /**
     * 获取
     * @return studyTime
     */
    public int getStudyTime() {
        return studyTime;
    }

    /**
     * 设置
     * @param studyTime 学习时间id
     */
    public void setStudyTime(int studyTime) {
        this.studyTime = studyTime;
    }

    /**
     * 获取
     * @return studyPlan
     */
    public int getStudyPlan() {
        return studyPlan;
    }

    /**
     * 设置
     * @param studyPlan 学习计划id
     */
    public void setStudyPlan(int studyPlan) {
        this.studyPlan = studyPlan;
    }

    @Override
    public String toString() {
        return "StudyInfo{id = " + id + ", userId = " + userId + ", wordAccount = " + wordAccount + ", studyTime = " + studyTime + ", studyPlan = " + studyPlan + "}";
    }
}
